﻿@model Angel.Entities.Group_User

@{
    ViewBag.Title = "Delete Member";
}
@*@using (Html.BeginForm())
{
    <fieldset>
    <legend>Delete User from Group</legend>
    @Html.HiddenFor(model => model.ID)
    <div class="display-label"><b>UserName:</b></div>
    <div class="display-field">
        @Html.DisplayFor(model => model.User.UserName)
        @Html.HiddenFor(model => model.UserID)
    </div>

    <div class="display-label"><b>Group:</b></div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Group.GroupName)
        @Html.HiddenFor(model => model.GroupID)
    </div>
    <p>
        <input type="submit" value="Delete" />     
    </p>
</fieldset> 
}*@
<style type="text/css"> .fieldLabelArea {width: 50%;}</style>
<section id="content" role="main">
    <header>
        <h1 id="admin-page-heading">Edit Group Member</h1>
        <div id="upm-notifications" class="aui-dd-parent upm-admin-headers upm-notifications-jira dd-allocated loaded"><a title="Plugin Notifications" id="upm-notifications-trigger" class="aui-dd-trigger" href="#"><span id="upm-notifications-icon"></span><span id="upm-notifications-count">0</span></a>
            <div id="upm-notifications-dropdown" class="upm-notifications-dropdown aui-dropdown hidden"><h3>Plugin Notifications</h3><p id="upm-no-notifications">There are no plugins requiring your attention at this time.</p>
            </div>
        </div>
    </header>      
         @using (Html.BeginForm())
         {
    <div class="content-container">              
        <div class="content-body aui-panel">
	        <table class="jiraform maxWidth" id="delete_user_confirm">
                    <tr class="titlerow">
		                <td colspan="2" class="jiraformheader">
                        @Html.HiddenFor(model => model.ID)                        </td>
                        <h3 class="formtitle">Group: @Html.DisplayFor(model => model.Group.GroupName)</h3>
                        <h4 class="formtitle">Delete User: @Html.DisplayFor(model => model.User.UserName) </h4>
                          @Html.HiddenFor(model => model.UserID)

                         
	                </tr>
                   
                          
                         @Html.HiddenFor(model => model.GroupID)
                          <div class="aui-message warning"><span class="aui-icon icon-warning"></span>
                                                        <p>Do you want to delete this username?</p>
                                                        <p>Please note that any components with this 
                                user set as the lead will have the component lead set to empty when the 
                                user is deleted.</p>
                                </div>
    	                <tr class="buttons-container">   
                            <td class="jiraformfooter">&nbsp;</td>
                            <td colspan="1">   
                                <div class="buttons-container">
                                    <div class="buttons">
                                        <input  value="Delete" class="aui-button" type="submit"/>
                                        <a>@Html.ActionLink("Cancel", "Index")</a>               
                                    </div>
                                </div>
		                    </td>
	                    </tr>
	                <tr class="descriptionrow">
		                <td colspan="2" class="jiraformheader">
                            <div class="desc-wrap">
     
                               
                            </div>
                        </td>
	                </tr>
                         
                        </table>  
                        </div>
                        </div>
                        
                         
         }